package com.smfx.yxt.daoSqlserver;

import java.util.List;

import com.smfx.yxt.model.TeacherExchangeCourseApplyItem;
import com.smfx.yxt.page.Page;
import com.smfx.yxt.view.TeacherExchangeCourseApplyItemView;

public interface TeacherExchangeCourseApplyItemMapper {

    int insertSelective(TeacherExchangeCourseApplyItem record);

    TeacherExchangeCourseApplyItem selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TeacherExchangeCourseApplyItem record);

    List<TeacherExchangeCourseApplyItemView> selectListByApplyId(Integer applyId);
    
    TeacherExchangeCourseApplyItemView selectByItemId(Integer itemId);
    
    int selectCountForPending(Integer applyId);
    
    List<TeacherExchangeCourseApplyItemView> selectItemListByPage(Page<TeacherExchangeCourseApplyItemView> page);
    
    List<TeacherExchangeCourseApplyItemView> selectReportListByPage(Page<TeacherExchangeCourseApplyItemView> page);
    
    List<String> selectExchangeTeacherIdByApplyId(Integer applyId);
    
    List<TeacherExchangeCourseApplyItemView> selectExchangeTeacherListByApplyId(Integer applyId);

}